getBooleanParameter

fun getBooleanParameter(parameterName: String, defaultVal: Boolean): Boolean

Get the specified parameter as a boolean. If the given parameter does not have a value, or if it is not a boolean, return the given default value


fun getBooleanParameter(parameterName: String): Boolean?

Get the specified parameter as a boolean. If the given parameter does not have a value, or if it is not a boolean, return null